package com.pfizer.Entity;
 
/**
 * VideoClass--<b>影片分類信息實體</b>--靜態變量為創建數據庫表需要的字段名
 * 
 * @author krui
 * @version 1.40 2011/11/19
 */
 


public class VideoClass{
	
	public static final String 	VCSTRING="Node";
	public static final String 	VCIDSTRING="Node_ID";
	public static final String 	VCNAMESTRING="Node_Name";
	
	private int 			Node_ID=0;
	private String 	Node_Name="";
	public VideoClass(int _ID,String _Name)
	{
		this.Node_ID=_ID;
		this.Node_Name=_Name;
	}
	public VideoClass()
	{
		
	}
	public VideoClass(String _ID)
	{
		this.Node_ID=new Integer(_ID).intValue();
	}
	public void setID(String _ID)
	{
		this.Node_ID=new Integer(_ID).intValue();
	}
	public long getID()
	{
		return this.Node_ID;
	}
	public void setName(String _Name)
	{
		this.Node_Name=_Name;
	}
	public String getName()
	{
		return this.Node_Name;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return String.valueOf(this.Node_ID)+",name  "+this.Node_Name+"\n";
	}
}
